package com.njtoyo.taxi.admin.rest.wrapper.business.taxis;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Pattern;

@ApiModel("修改车辆")
@Data
public class TaxiUpdateWrapper {
    @ApiModelProperty(value = "公司ID")
    private Long companyId;

    @ApiModelProperty(value = "车牌号")
//    @Pattern(regexp = "^[测京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-Z0-9]{4}[A-Z0-9挂学警港澳]{1}$",
//            message = "车牌号格式不准确")
    private String plateNumber;

    @ApiModelProperty(value = "发动机号")
    private String serialNumber;

    @ApiModelProperty(value = "行政区")
    private Long cantonId;
}
